package com.hamster.crmpre.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author ：Lizhipeng
 * @date ：Created in 2019/12/28 13:52
 * @description：杠杆计划信息
 * @modified By：
 * @version: 1.0
 */
@Data
@TableName("leverage_plan_information")
public class LeveragePlanInformation {
    @TableId
    private String id; //唯一标识
    private String employeeId; //员工id
    private String employeeName; //员工姓名
    private String leverageType; //杠杆计划 类型 id
    private String leverageTitle;//杠杆计划标题
    private Double principal;//本金
    private Double targetAmount;//目标金额
    private String customerId;//客户id
    private String customerName;//客户姓名
    private String customerPhone;//客户手机号

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime; //杠杆期限开始时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime; //杠杆期限结束时间

    private String originalManager; //原始服务经理id、[json数组]
    private String wxGroupResponsible; //微信组-总负责人id、[json数组]
    private String wxGroupParticipate; //微信组-参与人id、[json数组]
    private String performGroupResponsible; //落地组-总负责人id、[json数组]
    private String performGroupLecturer; //落地组-讲师id、[json数组]
    private String performGroupParticipate; //落地组-参与人id、[json数组]
    private String securityGroupParticipate; //保障组参与人id、[json数组]

    private Double actualAmount;//实际金额
    private Double cost;    //成本

    private String completeSchedule;//完成进度  0 未达到80%   1 80%-100%   2 100%   3 100%+
    private String state; //状态 0 进行中   1 已结束
    private Date createTime; //创建时间

    private String verify; //会计审核  0 待审  1已通过   2拒绝【此为创建时的审核】


    private String remark;   //备注
    private String  inputUser;//录入人
    private Date inputTime; //录入日期
    private String del;//数据状态【删除标记】0正常   1删除
}
